package com.cmj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cmj.domain.ResponseResult;
import com.cmj.domain.dto.TagListDto;
import com.cmj.domain.entity.Tag;
import com.cmj.domain.vo.PageVo;
import com.cmj.domain.vo.TagVo;

/**
 * 标签(Tag)表服务接口
 *
 * @author makejava
 * @since 2022-07-19 22:33:38
 */
public interface TagService extends IService<Tag> {

    ResponseResult<PageVo> pageTagList(Integer pageNum, Integer pageSize, TagListDto tagListDto);

    ResponseResult delTag(Long[] id);

    ResponseResult addTag(Tag tag);

    ResponseResult updateTag(Tag tag);

    ResponseResult<TagVo> getTag(Long id);

    ResponseResult getListAllTag();
}